package com.zkool.train.repository;

import com.zkool.train.entity.TrainTimetable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by zhaokui on 2019/8/11.
 */
@Repository
public interface TrainTimetableRepository extends JpaRepository<TrainTimetable, Long> {

    List<TrainTimetable> findByTrainNumberId(Long trainNumberId);

}
